package com.woniuxy.service.dto;

import lombok.Data;

@Data
public class CodeDto {
    private String code;
    private Long time;

    public CodeDto() {
    }

    public CodeDto(String code, Integer sec) {
        this.code = code;
        this.time = System.currentTimeMillis() + sec * 1000;
    }
}
